package com.boatAnchorAssistant.pojo.enums.user;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
import nirvana.core.domains.enums.Enums;

/**
 * @author Joseph.Li
 * @author joseph.li@king-v.com
 * Created in 2022-06-17 0:03
 * <p>
 * 用户有效期类型
 */
@Getter
@AllArgsConstructor
public enum UsefulTypeEnum implements Enums<UsefulTypeEnum> {


    PERMANENT(0, "永久有效"),
    PERIOD(1, "时段"),
    DAYS(2, "天数");


    @JsonValue
    @EnumValue
    private Integer id;
    private String message;

}
